package com.ikdong.toodle.model;

import com.ikdong.toodle.util.JsonUtil;

public class BasicTask {
	private Long id;
	private String title;
	private String tag;
	private Long folder;
	private Long context;
	private Long goal;
	private Long location;
	private Long parent;
	private Long children;
	private Long order;
	private Long duedate;
	private Long duedatemod;
	private Long startdate;
	private Long duetime;
	private Long starttime;
	private Long remind;
	private String repeat;
	private Long repeatfrom;
	private Long status;
	private Long length;
	private Long priority;
	private Long star;
	private Long modified;
	private Long completed;
	private Long added;
	private Long timer;
	private Long timeron;
	private String note;
	private String meta;
	
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getTag() {
		return tag;
	}
	public void setTag(String tag) {
		this.tag = tag;
	}
	public Long getParent() {
		return parent;
	}
	public void setParent(Long parent) {
		this.parent = parent;
	}
	public Long getOrder() {
		return order;
	}
	public void setOrder(Long order) {
		this.order = order;
	}
	public Long getStartdate() {
		return startdate;
	}
	public void setStartdate(Long startdate) {
		this.startdate = startdate;
	}
	public Long getStarttime() {
		return starttime;
	}
	public void setStarttime(Long starttime) {
		this.starttime = starttime;
	}
	public Long getRemind() {
		return remind;
	}
	public void setRemind(Long remind) {
		this.remind = remind;
	}
	public String getRepeat() {
		return repeat;
	}
	public void setRepeat(String repeat) {
		this.repeat = repeat;
	}
	public Long getRepeatfrom() {
		return repeatfrom;
	}
	public void setRepeatfrom(Long repeatfrom) {
		this.repeatfrom = repeatfrom;
	}
	public Long getStatus() {
		return status;
	}
	public void setStatus(Long status) {
		this.status = status;
	}
	public Long getPriority() {
		return priority;
	}
	public void setPriority(Long priority) {
		this.priority = priority;
	}
	public Long getStar() {
		return star;
	}
	public void setStar(Long star) {
		this.star = star;
	}
	public Long getModified() {
		return modified;
	}
	public void setModified(Long modified) {
		this.modified = modified;
	}
	public Long getTimer() {
		return timer;
	}
	public void setTimer(Long timer) {
		this.timer = timer;
	}
	public Long getTimeron() {
		return timeron;
	}
	public void setTimeron(Long timeron) {
		this.timeron = timeron;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getFolder() {
		return folder;
	}
	public void setFolder(Long folder) {
		this.folder = folder;
	}
	public Long getContext() {
		return context;
	}
	public void setContext(Long context) {
		this.context = context;
	}
	public Long getGoal() {
		return goal;
	}
	public void setGoal(Long goal) {
		this.goal = goal;
	}
	public Long getLocation() {
		return location;
	}
	public void setLocation(Long location) {
		this.location = location;
	}
	public Long getChildren() {
		return children;
	}
	public void setChildren(Long children) {
		this.children = children;
	}
	public Long getDuedate() {
		return duedate;
	}
	public void setDuedate(Long duedate) {
		this.duedate = duedate;
	}
	public Long getDuedatemod() {
		return duedatemod;
	}
	public void setDuedatemod(Long duedatemod) {
		this.duedatemod = duedatemod;
	}
	public Long getDuetime() {
		return duetime;
	}
	public void setDuetime(Long duetime) {
		this.duetime = duetime;
	}
	public Long getLength() {
		return length;
	}
	public void setLength(Long length) {
		this.length = length;
	}
	public Long getCompleted() {
		return completed;
	}
	public void setCompleted(Long completed) {
		this.completed = completed;
	}
	public Long getAdded() {
		return added;
	}
	public void setAdded(Long added) {
		this.added = added;
	}
	public String getMeta() {
		return meta;
	}
	public void setMeta(String meta) {
		this.meta = meta;
	}
	
	public String getJson(){
		return JsonUtil.parseTaskToJson(this);
	}
}
